﻿@{
    ViewBag.Title = "会员换购记录";
}

@using MMS.UI.Extension
@section headSection{
    <script type="text/javascript">
        $(function () {
            $.globalHelper.datagridPara.init("/admin/Exchange/Index",
            [@Html.GetSonBtnJs()],
                [[
                {
                    field: 'MemberInfo', title: '会员名称', width: 50, formatter: function (colData) {
                        return colData.MName;
                    }
                },
                {
                    field: 'GoodsInfo', title: '会员换购商品名称', width: 50, formatter: function (colData) {
                        return colData.GName;
                    }
                },
                { field: 'EMoney', title: '补差金额', width: 50 },
                { field: 'EIntegral', title: '消耗会员积分', width: 50 },
                 { field: 'EMoneyAmount', title: '消费额度', width: 50 },
                  {
                      field: 'ETime', title: '时间', width: 50, formatter: function (colData) {
                          return $.globalHelper.changeDateFormat(colData);
                      }
                  }
                ]]);

            $("#tbList").datagrid($.globalHelper.datagridPara.paras);


        });



    </script>
}
<table id="tbList"></table>
